﻿//==============================================================================  
//Copyright (C) 2012-2015 9UN.ORG. All rights reserved. 
//GUID：fe9870bd-0621-4156-b892-84ea75fe206b
//CLR Version: 4.0.30319.18033
//Code Author：Kevin Wang
//Contact：Email(Admin@9un.org),QQ(265382 or 74344)
//Filename：VideoTrackInfo
//Namespace：RuanRang.Media.Core.Common
//Functions：VideoTrackInfo  
//Created by Kevin Wang at 2013/3/4 22:25:30 http://blog.9un.org
//============================================================================== 
using System;
namespace RuanRang.Media.Core.Common
{
    /// <summary>
    /// Encapsulates information about video track.
    /// </summary>
    public class VideoTrackInfo
    {
        /// <summary>
        /// Gets or sets the ID.
        /// </summary>
        /// <value>The ID.</value>
        public int ID { get; set; }

        /// <summary>
        /// Codec FOURCC code.
        /// </summary>
        /// <value>The name of the codec.</value>
        public string CodecName
        {
            get;
            set;
        }

        /// <summary>
        /// Codec description.
        /// </summary>
        public string Description
        {
            get;
            set;
        }

        /// <summary>
        /// Video frame width.
        /// </summary>
        public int Width
        {
            get;
            set;
        }

        /// <summary>
        /// Sample rate. Samples per second (Hz).
        /// </summary>
        public double BitRate
        {
            get;
            set;
        }

        /// <summary>
        /// Channels count.
        /// </summary>
        public AudioChannelsType Channels
        {
            get;
            set;
        }

        /// <summary>
        /// Video frame height.
        /// </summary>
        public int Height
        {
            get;
            set;
        }
    }
}
